SONATA(YF) >2013 > G 2.4 GDI > Body Electrical System > Sun Roof > Sunroof Switch>Repair procedures  
Inspection
1.
Disconnect the negative (-) battery terminal.
2.
Open the sunglass case cover from the overhead console then remove the 2 screws holding the overhead console (A).

3.
Disconnect the connector. Check for continuity between the terminals. If the continuity is not as specified, replace the sunroof switch.